package com.qqtech.qquan.user.model;

import java.math.BigDecimal;
import java.sql.Timestamp;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.qqtech.core.frame.model.BaseDomain;

@SuppressWarnings("serial")
public class UserValue extends BaseDomain {
	private Integer drawCount;
	private Timestamp addDrawCountAt;
	// columns START
	/** 用户的产值货币(圈币),1圈币=1分人民币 */
	private java.lang.Integer money;
	/** 被赠送或从荣誉系统得到的圈币(不可用于提现),1圈币=1分人民币 */
	private java.lang.Integer quanValue;
	/** 用户最新位置-经度 */
	private BigDecimal x;

	/** 用户最新位置-纬度 */
	private BigDecimal y;

	/** 是否显示位置:1-是 2-否 **/
	private java.lang.Integer isShowLocation;

	/** 客户端设备推送id **/
	private java.lang.String registrationId;
	/** APP是否退到后台:1-是;2-否 **/
	private java.lang.Integer isBackground;
	/** APP客户端类型:1-安卓;2-苹果;3-其它 **/
	private java.lang.Integer osType;

	/** 用户荣誉值 **/
	private java.lang.Integer honorValue;
	/** 用户荣誉等级 **/
	private java.lang.Integer honorLevel;
	/** 用户荣誉等级名称(冗余字段) **/
	private java.lang.String honorLevelName;

	// columns END
	public UserValue() {
	}

	public UserValue(java.lang.Integer id) {
		this.id = id;
	}

	public Timestamp getAddDrawCountAt() {
		return addDrawCountAt;
	}

	public Integer getDrawCount() {
		return drawCount;
	}

	public java.lang.Integer getIsBackground() {
		return isBackground;
	}

	public java.lang.Integer getIsShowLocation() {
		return isShowLocation;
	}

	public java.lang.Integer getMoney() {
		return this.money;
	}

	public java.lang.Integer getOsType() {
		return osType;
	}

	public java.lang.String getRegistrationId() {
		return registrationId;
	}

	public BigDecimal getX() {
		return this.x;
	}

	public BigDecimal getY() {
		return this.y;
	}

	public void setAddDrawCountAt(Timestamp addDrawCountAt) {
		this.addDrawCountAt = addDrawCountAt;
	}

	public void setDrawCount(Integer drawCount) {
		this.drawCount = drawCount;
	}

	public void setIsBackground(java.lang.Integer isBackground) {
		this.isBackground = isBackground;
	}

	public void setIsShowLocation(java.lang.Integer isShowLocation) {
		this.isShowLocation = isShowLocation;
	}

	public void setMoney(java.lang.Integer money) {
		this.money = money;
	}

	public void setOsType(java.lang.Integer osType) {
		this.osType = osType;
	}

	public void setRegistrationId(java.lang.String registrationId) {
		this.registrationId = registrationId;
	}

	public void setX(BigDecimal x) {
		this.x = x;
	}

	public void setY(BigDecimal y) {
		this.y = y;
	}

	public java.lang.Integer getQuanValue() {
		return quanValue;
	}

	public void setQuanValue(java.lang.Integer quanValue) {
		this.quanValue = quanValue;
	}

	public java.lang.Integer getHonorValue() {
		return honorValue;
	}

	public void setHonorValue(java.lang.Integer honorValue) {
		this.honorValue = honorValue;
	}

	public java.lang.Integer getHonorLevel() {
		return honorLevel;
	}

	public void setHonorLevel(java.lang.Integer honorLevel) {
		this.honorLevel = honorLevel;
	}

	public java.lang.String getHonorLevelName() {
		return honorLevelName;
	}

	public void setHonorLevelName(java.lang.String honorLevelName) {
		this.honorLevelName = honorLevelName;
	}

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this, ToStringStyle.MULTI_LINE_STYLE);
	}

}
